<!DOCTYPE html>
<html>
<head>
    <title>{$data.title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="{$data.description}" />
    <meta name="keywords" content="{$data.keyword}" />

    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
    <!-- css -->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link href="__HOME__css/iconfont.css" rel="stylesheet"/>
    <link href="__HOME__css/am.css" rel="stylesheet"/>
    <link href="__HOME__css/flexslider.css" rel="stylesheet"/>
    <link href="__HOME__css/style.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__HOME__css/blueimp-gallery.min.css">
      <style>
        ._share ._view_c a span{color: #1a7e67!important;}
        ._share ._view_c a span:hover{text-decoration: underline;}
    </style>
</head>
<body>
{include file="public/header" /}

    <!-- video -->
    <div class="_video">
        <div class="public">
            <!-- <video src="{$data.video_url}" controls="controls" height="675" width="100%"></video> -->
            
            <iframe id="player" type="text/html" width="100%" height="675" src="{$data.video_url}" frameborder="0"></iframe>
        </div>
    </div>
    <!-- video end -->


    <!-- position -->
    <div class="position_content">
        <div class="public clear">
            <div class="position fl">
                <i class="iconfont icon-zhuye"></i>
                <a href="/">主页</a> >
                <a href="/home/video.html">视频中心</a> >
                <a >{$data.name}</a>
            </div>
            <div class="fr">
                <a href="" style="font-size: 16px;color: #7b7b7b;">返回列表 <i class="iconfont icon-fanhui" style="font-size: 18px;"></i></a>
            </div>
        </div>
    </div>
    <!-- position end -->



    <!-- page -->
    <div class="video_view" style="background: #f4f4f4;">
        <div class="public clear">
            <div class="video_view_l fl" style="width: 70%">
                <div class="_share">
                    <h1 class="_title">{$data.name}</h1>
                    <div class="clear _date">
                        <div class="fl _date_l">
                            <p><i class="iconfont icon-shijianzhongbiao"></i> {$data.create_time}</p>
                            <p>by <span>{$data.author}</span></p>
                        </div>
                        <div class="fr _date_r">
                            <!-- 分享 -->
                        </div>
                    </div>
                    <div class="_view_c">
                        <p>{$data.content}</p>
                    </div>


                    <div class="previousNext clear">
                        {if $b eq null}
                        <div class="fl _previous">
                            <a class="am"><i class="iconfont icon-shangyige"></i>上一个</a>
                            <span>无数据</span>
                        </div>
                        {else \}
                        <div class="fl _previous">
                            <a href="/video/{$b.uname}-{$b.id}.html" class="am"><i class="iconfont icon-shangyige"></i>上一个</a>
                            <span title="{$b.name}">{$b.name}</span>
                        </div>
                        {/if}
                        {if $c eq null}
                        <div class="fr _next">
                            <span>无数据</span>
                            <a class="am">下一个<i class="iconfont icon-shangyige"></i></a>
                        </div>
                        {else \}
                        <div class="fr _next">
                            <span title="{$c.name}">{$c.name}</span>
                            <a href="/video/{$c.uname}-{$c.id}.html" class="am">下一个<i class="iconfont icon-shangyige"></i></a>
                        </div>
                        {/if}
                        <span class="_link"></span>

                    </div>


                </div>
            </div>
            <div class="video_view_r fr" style="width: 28%">
                <div class="video_view_r_top">
                    <h1 class="_title">相关视频</h1>
                    <div class="_related">
                        <ul>
                            {volist name="likelist" id="v" key="k"}
                            <li>
                                <a href="/video/{$v.uname}-{$v.id}.html" class="clear">
                                    <div class="pic fl am">
                                        <div class="pic_img am">
                                            <img src="{$v.img_url}" alt="{$v.alt}" title="{$v.alt}" style="height: 90px;">
                                        </div>
                                    </div>
                                    <div class="_text fl" style="width: 166px">
                                        <span> {$v.create_time}</span>
                                        <p>{$v.name}</p>
                                    </div>
                                </a>
                            </li>
                            {/volist}
                        </ul>
                    </div>
                </div>
                <div class="video_view_r_bottom">
                    <h1 class="_title">标签</h1>

                    <div id="tagscloud" class="_tags">
                        {volist name="tags" id="v" key="k"}
                        <a href="/home/tags/{$v.id}.html" class="am">{$v.name}</a>
                        {/volist}
                    </div>

                </div>
            </div>
        </div>
    </div>
    {include file="public/footer" /}
<script type="text/javascript">
    //字数限制
    $('._text p').wordLimit(50);
    $('._previous span').wordLimit(22);
    $('._next span').wordLimit(22);
</script>

